package com.sanjiahantang.youjiarole.module.login.models;

import android.content.Context;

import com.sanjiahantang.youjiarole.base.BaseBean;
import com.sanjiahantang.youjiarole.base.CallBack;
import com.sanjiahantang.youjiarole.module.common.beans.StringBean;
import com.sanjiahantang.youjiarole.module.login.beans.LoginBean;
import com.sanjiahantang.youjiarole.module.login.presenters.LoginPresenter;

import java.util.Map;

/**
 * Created by zy on 2017/10/21.
 */

public interface ILoginModel {
    void doRegister(Context context, Map<String, String> params, CallBack<StringBean> callBack);

    void doChangePassword(Context context, Map<String, Object> params, CallBack<BaseBean> callBack);

    void doLogin(Context context, Map<String, String> params, CallBack<LoginBean> callBack);

    void senMessageCode(final Context context, Map<String, String> params, final CallBack<StringBean> callBack);

    void doforgetPassword(final Context context, Map<String, String> params,final CallBack<StringBean> callBack);

    void setForgetSendCodeView(Context context, Map<String, String> params, CallBack<StringBean> callBack);

    void modifyPayPwd(Context context, Map<String, Object> params, CallBack<StringBean> callBack);
}
